<g:set var="icons" value="['icon-box','icon-task','icon-template','icon-customer','icon-sys']"/>

<div class="tabs-header">
    <div class="tabs-scroller-left" style="display: none;"></div>
    <div class="tabs-scroller-right" style="display: none;"></div>
    <div class="tabs-wrap" style="margin-left: 0px; left: 0px; width: 1364px;">
        <ul class="tabs" >
            <g:each status="i" in="${modules}" var="mm">
            <li <g:if test="${mm.link.count(params.controller)>0 }">class="tabs-selected"</g:if>>
                <a class="tabs-inner" href="${createLink(uri:mm.link)}">
                    <span class="tabs-title tabs-with-icon">${mm?.name}</span>
                    <span class="tabs-icon ${icons[i]}"></span>
                </a>
            </li>
            </g:each>
        </ul>
    </div>
</div>


